<div class="box">
    <div class="heading">
        <h1><img alt="" src="<?php echo base_url('assets/admin/images/category.png'); ?>">Add Country</h1>

        <div class="buttons">
            <a class="button" href="#" onClick="$('#form').submit();"><span>Save</span></a>
            <a class="button" href="<?php echo base_url(ADMIN_PATH . '/setting/countries'); ?>"><span>Cancel</span></a>
        </div>
    </div>
    <div class="content">

        <?php echo form_open(null, 'id="form"')?>

        <div class="form">
            <div>
                <?php echo form_label('Country Name:', 'name')?>
                <?php echo form_input(array('name' => 'name', 'value' => set_value('name', '')))?>
            </div>
			<div>
                <?php echo form_label('ISO Code:', 'iso_code_3')?>
                <?php echo form_input(array('name' => 'iso_code_3', 'value' => set_value('iso_code_3', '')))?>
            </div>
			<div>
				<?php echo form_label('<span class="required">*</span> Status:', 'status'); ?>
				<?php echo form_dropdown('status', array('1'=>'Enable', '0' => 'Disable'), set_value('status',''), 'id=\'status\'')?>
			</div>
			
        </div>

        <div class="clear"></div>

        <?php echo form_close(); ?>
    </div>
</div>
